projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cce7e0f
)
dm: pci: Add a comment to help find pci_hose_read_config_byte, etc.
author
Simon Glass
<
[email protected]
>
Sat, 22 Aug 2015 21:58:55 +0000
(15:58 -0600)
committer
Simon Glass
<
[email protected]
>
Wed, 26 Aug 2015 14:54:14 +0000
(07:54 -0700)
These functions are defined by macros so do not show up with grep. Add
a comment to help.
Signed-off-by: Simon Glass <
[email protected]
>
Reviewed-by: Bin Meng <
[email protected]
>
include/pci.h
patch
|
blob
|
history
diff --git
a/include/pci.h
b/include/pci.h
index 488ff44c532805d1a5f4a6cc24ca0b29046dbafa..e24c9701301bfe2138d457b024d3040e1a03485c 100644
(file)
--- a/
include/pci.h
+++ b/
include/pci.h
@@
-653,6
+653,7
@@
extern pci_addr_t pci_hose_phys_to_bus(struct pci_controller* hose,
#define pci_io_to_virt(dev, addr, len, map_flags) \
pci_bus_to_virt((dev), (addr), PCI_REGION_IO, (len), (map_flags))
+/* For driver model these are defined in macros in pci_compat.c */
extern int pci_hose_read_config_byte(struct pci_controller *hose,
pci_dev_t dev, int where, u8 *val);
extern int pci_hose_read_config_word(struct pci_controller *hose,